Openrouter logo
ConnectorOpenrouter

Openrouter integration for Claude and Codex

Create a Openrouter connection, then control which Spaces can use its approved tools and data without pasting credentials into prompts or threads.

Use Openrouter from Claude

Add the Openrouter connection to a Space that runs Claude, then use it from every channel in that Space.

Use Openrouter from Codex

Add the Openrouter connection to a Space that runs Codex, then use it from every channel in that Space.

Use Openrouter from Sidekick

Connect your own OpenClaw to Sidekick while Type provides the conversations, permissions, connections, skills, and automations.

Developer Tools & IT

What the Openrouter connector can do

OpenRouter is a platform that provides a unified API for accessing various large language models (LLMs) from different providers, allowing developers to integrate multiple AI models seamlessly.

One connection, many Spaces

Connect Openrouter once, then decide which Spaces can use it in threads, skills, automations, and coding work.

Representative actions

  • Create Chat Completion

    Tool to generate a chat-style completion. Use after assembling messages and selecting a model. Supports streaming and function calls. Response format varies across models; use explicit prompt instructions to standardize output. Provider-level rate limits and moderation policies differ per model.

  • Create Coinbase Charge

    Tool to create a Coinbase charge for crypto payment to add credits to your OpenRouter account. Use when you need to purchase credits using cryptocurrency. Returns calldata needed to fulfill the transaction on the specified blockchain.

  • Create Message (Anthropic Format)

    Tool to create a message using Anthropic Messages API format via OpenRouter. Use when you need Claude-compatible chat completion with support for text, images, PDFs, tools, and extended thinking.

  • Get Credits

    Tool to get the current API credit balance for the authenticated user. Use before large or batch jobs to verify sufficient balance. A successful response may return total_credits=0, which confirms authentication but will cause all paid model generations to fail. Avoid polling this endpoint; call only as needed.

  • Get Current Key

    Tool to get information about the currently authenticated API key. Use to check usage limits, spending, and key metadata.

Connection

API and auth details

OpenRouter provides a unified OpenAI-compatible API for accessing models from many AI providers. Integrations can route chat/completion requests, choose models, use streaming, tool calling, structured outputs, rankings, usage accounting, and provider routing policies through bearer-token API keys.

FAQ

Questions people ask before connecting Openrouter

Can Claude use Openrouter?

Yes. Add a Openrouter connection to a Space that runs Claude, then use its approved tools and data from any channel in that Space.

Can Codex work with Openrouter through Type?

Yes. Add a Openrouter connection to a Space that runs Codex, then use its approved tools and data from any channel in that Space.

Is this the same as a Openrouter MCP server?

Not exactly. Type uses connectors and connections to give selected Spaces access to approved app tools and data. Some connectors use hosted MCP, while others use OAuth, API keys, service accounts, or custom APIs.

More developer tools & it connectors