Overview - The Grid Docs

Start seeing real savings on your LLM costs. Sign up and integrate in <5 mins.

The Grid is a spot market for AI inference. Instead of picking a vendor and accepting their rate card, you pick a task type (text, code, or agent) and a quality tier (Standard, Prime, or Max). We route your request to a qualifying model from competing suppliers at a competitive market price. We're compatible with OpenAI Chat Completions and Anthropic Messages formats. Live pricing for each instrument is in the app at thegrid.ai/pricing.

Page
Contents

Introduction to The Grid, plus a 5-minute quickstart from sign-up to first call

Lower, competitive token costs, quality enforced inference delivery, without any vendor lock-in

The instruments live on The Grid today, with their Quality Score floors, latency, and limits

Switch from your existing provider by changing three lines of code

Use The Grid with your favorite AI tools and agent harnesses

Machine-readable surfaces for agents and tools

We provide the following surfaces for programmatic discovery and automated setup by agents and agentic tools:

  • Consumption API: one single API to consume inference via multiple instruments on The Grid. We support both OpenAI and Anthropic formats. For more details, check out the reference.

    • OpenAI Chat Completions base URL: https://api.thegrid.ai/v1. Point any OpenAI SDK or compatible client at it. Auth header: Authorization: Bearer <key>. Pass an instrument string (text-prime, code-prime, etc.) in place of a model name.

    • Anthropic Messages base URL (beta): https://messages-beta.api.thegrid.ai/v1. Point any Anthropic Messages client at it. Auth header: x-api-key: <key>. Same instrument strings, same key.

  • Integration guides: see Integrations for setup with tools like Cline, Continue, Claude Code, Kilo Code, OpenCode, and harnesses like OpenClaw, CrewAI, Deep Agents, DeerFlow, and Hermes.

Support and troubleshooting

Questions, integration issues, or feedback: support@thegrid.ai. For common questions (account setup, billing, instrument selection, error codes), start with Migration and best practices → Troubleshooting.

Last updated

Was this helpful?