Skip to content

course

Grok Platform 101

Build on the Grok Platform from the ground up — models, the xAI Console, your first chat completion, tools, and what it costs.

5 lessons · 1 quiz · 1 hrCompletion badge

For: Developers who have called an HTTP API. Chat-only users welcome; we start from the request.

What you’ll walk out with

  • Call chat completions against api.x.ai with a server-side key
  • Pick a model for chat vs image vs voice without folklore
  • Send tools and structured output without leaking secrets to the browser
  • Read a usage line and estimate cost before you ship a loop

Lessons

  1. 01Models and the ConsoleWhat you are actually calling, and where the key lives.12 min
  2. 02Your first completionA POST you can read, with the fields that matter.12 min
  3. 03Tool useGrok chooses a function, you run it, you send the result back.14 min
  4. 04Tokens, cost, and limitsWhat a token is, why long threads get expensive, and how to not surprise finance.12 min
  5. 05Ship it without hurting peopleTimeouts, logging, abuse, and the things that bite after demo day.12 min
  6. QGrok Platform 101 quiz4 questions