Universal API key
One Spro key and one endpoint for models from OpenAI, Anthropic and other providers.
What is Universal API key?
A universal API key is one credential that calls models from many AI providers through a single endpoint. With Spro you create one API key and send requests to an OpenAI-compatible base URL. You pick the model with its provider prefix, such as anthropic/claude-sonnet-4, and Spro handles each provider's request format behind the scenes.
Each provider has its own key, base URL, SDK and request format, so adding a second provider usually means a second integration. A universal API key removes that. Your app holds one Spro key and one base URL, and calls any supported model by name.
The OpenAI SDK works with Spro by changing the base URL. The same key also works with the Anthropic SDK and the Responses API. Provider keys stay optional: Spro offers managed access, and you can add your own provider keys with BYOK.
Key features
What this feature does for your requests.
- One Spro API key for all supported providers
- OpenAI-compatible chat completions and responses endpoints
- Anthropic SDK requests use the same key and headers
- Model names carry the provider, such as openai/ or anthropic/
- Add your own provider keys with BYOK when you want your own billing
How it works
4 steps, from setup to the first request.
- 01
Create a key
Create one API key in your workspace.
- 02
Point your SDK
Set the base URL to https://spro.hridaai.com/v1.
- 03
Choose a model
Use a model name such as gpt-oss-20b or anthropic/claude-sonnet-4.
- 04
Switch providers
Change the model name to switch providers. Your key and code stay the same.
Is it the right fit?
Specific situations where this feature helps, and where it does not.
Good fit if
- Several apps or teams call different providers and want one integration
- You are comparing models before choosing one
- You switch providers and do not want to rewrite client code
Not a good fit if
- You need a provider's exclusive or beta feature the day it launches
- You want separate provider accounts and bills with no gateway in between
- You want one shared key for every app, with no per-app ownership or revocation
Universal API key FAQs
Common questions about Universal API key.
Route every AI request through SPRO.
One OpenAI-compatible API for 350+ models, with intelligent routing, 29 built-in guardrails, observability, and automatic failover.
