Migration
Bring your keys. Point your API. Optimize spend.
ZeroCredit works two ways: connect your provider API keys inside the dashboard, or point your existing client at one base URL. Either path speaks the standard chat API, so every request — whichever model it targets — keeps billing through your own provider accounts while gaining semantic caching, budget controls, fallback chains, intelligent routing, ML-powered cost optimization and per-request savings proof. Nothing else in your codebase changes.
- 1
Create a ZeroCredit API key and connect your AI model API keys
Sign up, open Developer → API keys, and generate a
zc_…key. Then connect your AI model API keys in ZeroCredit — any mix of OpenAI, Anthropic, Google, xAI, DeepSeek, Kimi, Perplexity or Azure. You keep your existing billing relationships, discounts and rate limits; ZeroCredit never substitutes its own keys. - 2
Point your client, or send from ZeroCredit
Choose the path that fits your stack. Point your client, framework or agent at ZeroCredit and keep every model name as-is, or make requests directly from ZeroCredit using your connected provider keys:
https://zerocreditai.com/api/public/v1 - 3
Send traffic — that's it
Your first request appears in the dashboard within seconds. Semantic caching, budget controls, fallback chains, intelligent routing and ML cost optimization activate automatically; every claimed saving traces to a request ID.
# works with any standard chat client (openai, litellm, langchain, llama-index…)
client = ChatClient(
api_key="zc_your_key", # Your ZeroCredit API key; providers stay on your own accounts
base_url="https://zerocreditai.com/api/public/v1", # ← the only line that changes
)
resp = client.chat.completions.create(
model="gemini-2.5-pro", # keep any provider's model name, or "auto"
messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)Compatibility checklist
What works when you route any provider's models through ZeroCredit.
Not ready to switch? Run the free cost audit on your current bill first.