DocsProviders

Providers

A provider supplies models. You pick one model per session, and any provider you have connected can supply it — including a GPU endpoint Podcode deployed for you.

Four types

The type decides what setup costs you, and where your tokens go.

TypeWhat you supplyWhere inference happens
Cloud, API keyA keyThe vendor's API
Cloud, OAuthA browser or device-code sign-inThe vendor's API
LocalNothing — auto-detected on its default portYour machine
Self-hostedA base URL, optionally a keyWherever you're running it

RunPod is a fifth case: it's self-hosted inference on hardware you rent, but Podcode does the deploying. It gets its own guide.

One provider spans several of these. Google is a single provider with three modes — an AI Studio API key, Vertex AI in your own GCP project, or an OAuth sign-in — chosen when you connect it.

What ships

ProviderTypeAuthEndpoint
AnthropicCloudAPI keyapi.anthropic.com
OpenAICloudAPI keyapi.openai.com
GoogleCloudAPI key (AI Studio), service account or ADC (Vertex AI), or OAuthGoogle AI API, or Vertex in your GCP project
GitHub CopilotCloudGitHub device-code OAuthapi.githubcopilot.com
MistralCloudAPI keyMistral API
CohereCloudAPI keyCohere API
MiniMaxCloudAPI keyapi.minimax.io — Anthropic-compatible
Z.ai (GLM)CloudAPI keyapi.z.ai — OpenAI-compatible
OpenRouterCloudAPI key or OAuthopenrouter.ai — an aggregator
NVIDIACloudAPI keyintegrate.api.nvidia.com
Fireworks AICloudAPI keyapi.fireworks.ai — OpenAI-compatible
Amazon BedrockCloudAWS SigV4 keys or a Bedrock API key, plus a regionbedrock-runtime.{region}.amazonaws.com
OllamaLocalnonelocalhost:11434, configurable
LM StudioLocalnonelocalhost:1234, configurable
vLLMSelf-hostedoptional keyyour base URL
llama.cppSelf-hostednoneyour base URL
RunPodGPURunPod API keydeployed per endpoint

Where credentials go

Into ~/.config/podcode/auth.json, encrypted at rest. They are never written into a workspace, and api_key, base_url, env, and npm are stripped out of a workspace's .podcode/config.json before it merges — a cloned repository cannot redirect a model endpoint and collect your key on the way past.

How a model's limits are resolved

Context windows and output caps come from four layers, highest priority first:

  1. Runtime — your config overrides.
  2. Live — what the provider itself reported at runtime.
  3. Synced — the models.dev catalogue, cached on disk for 24 hours.
  4. Bundled — a snapshot that ships with the build, for offline use.

When a provider publishes a live overlay, the bundled and synced rows for that provider are hidden entirely — only live and runtime remain visible. This is why a local model's advertised window comes from the server you're actually running rather than a guess from a table. When no layer declares limits at all, the fallback is 128,000 context and 4,096 output.

Next