AI21 Labs

Use your own AI21 Labs credits through Respan
  1. Sign up — Create an account at platform.respan.ai
  2. Create an API key — Generate one on the API keys page
  3. Add credits or a provider key — Add credits on the Credits page or connect your own provider key on the Integrations page

Add the Docs MCP to your AI coding tool to get help building with Respan. No API key needed.

1{
2 "mcpServers": {
3 "respan-docs": {
4 "url": "https://docs.respan.ai/mcp"
5 }
6 }
7}

AI21 Labs models compatibility

Add AI21 Labs API keys

There are 2 ways to add your AI21 Labs credentials to your requests:

Via UI

1

Go to the Providers page

Go to Providers page

Providers Page
2

Add your AI21 Labs credentials.

Add your AI21 Labs API key in the providers page.

Via code

Add customer_credentials parameter in your request body to use your own AI21 Labs credits.

1{
2 // Rest of the request body
3 "customer_credentials": {
4 "ai21labs": {
5 "api_key": "YOUR_AI21LABS_API_KEY",
6 }
7 }
8}