DEVELOPER TOOLS / API CONNECTIVITY

OpenRouter API Tester

A quick way to check your API key and make a real model call. Paste your key, send a short message, and see exactly what comes back.

Configure request

Get an API key ↗

Used only for the request. Never saved to cookies or browser storage.

Routes to a free model. Availability and request limits still apply.

Advanced options

16–1,024 tokens. A small limit keeps tests short; reasoning models may need more.

Testing utility only. Key checks do not generate tokens. Model calls use your OpenRouter account.

Test result

Ready to test
API key authenticationNot tested
Model responseNot tested
HTTP status
Total time
Total tokens
Your response will appear here

Run a test to see the model reply, connection details, or a helpful error message.

Results stay in this tab only.

Your browserDirect HTTPS requestOpenRouter API

From API key to first response

No SDK, terminal, or installation required.

01 / CONNECT

Paste your own key

Create a key in your OpenRouter account and paste the complete value here. Use “Check key only” to verify authentication without sending a prompt to a model. A successful check confirms that OpenRouter accepts the key.

02 / SEND

Make a small test call

Start with the free model router and the short default message. “Send test request” first checks your key, then sends one chat completion request. To test a particular integration, choose a custom model ID from OpenRouter’s catalog.

03 / INSPECT

Understand the result

Read the model reply or switch to JSON for the response body. The status code belongs to the latest API response; total time covers the whole test. Token usage includes input and output when reported. Clear the session when finished.

PRIVACY BY DESIGN

A webpage, with no testing backend

This is a static browser utility for convenient OpenRouter API testing. Caitty serves the page files, but does not receive or relay your API key, prompt, or API response. Requests go directly from your browser to https://openrouter.ai/api/v1/.

  • Your key is held only in the current page’s memory and input field. This tool never writes it to localStorage, sessionStorage, cookies, a URL, or a database.
  • This page is supported by Google AdSense ads only. It does not include Google Analytics or other standalone analytics. Our testing code does not send your key, prompt, or response to the advertising service.
  • Reloading, leaving the page, or choosing “Clear session” removes the key and results from this tool. Copying a result is optional; recognizable OpenRouter keys are redacted from displayed responses.

Ads load third-party scripts. Google and its advertising partners may use cookies or similar technologies to serve and measure ads. This is not a claim that the page has no third-party requests or tracking. See Google’s advertising privacy information.

OpenRouter receives your key to authenticate the request and routes the prompt to a model provider. Their privacy policies still apply. Browser extensions and your device are outside this page’s control, so no webpage can promise absolute security. Use a trusted browser and a limited testing key.

You can inspect this page’s request code and check the destination in your browser’s Network panel. This tool is independent of OpenRouter and is intended for quick connection checks.

TROUBLESHOOTING

What does an API error mean?

Status What to check
400 / 404 Check the model ID and request settings. The selected model may have changed or become unavailable.
401 OpenRouter rejected authentication. Check for an incomplete, mistyped, expired, or revoked key.
402 Review account credits, the key’s spending limit, and in-flight request budgets. A smaller token limit may help.
403 Check account permissions, model access, regional restrictions, or content rules.
429 Wait before retrying. Free models and providers have request limits, even when a key is valid.
5xx OpenRouter or a model provider may be temporarily unavailable. Check service status or try another model.
Network A network, VPN, extension, or CORS restriction can prevent the browser from reading a response. No HTTP response does not prove the key is invalid.

The test stops waiting after 60 seconds. Cancelling a request does not guarantee that the provider stops processing it or reverses any charge.

Before you test

Does a valid key guarantee that a model call will work?

No. Authentication and model generation are separate checks. A key can be valid while a call fails because of account credits, model permissions, rate limits, or provider availability. This tester keeps both results visible so you can tell where the request stopped.

Is the OpenRouter API test free?

Caitty does not charge for this tool. The default openrouter/free router selects a free model, subject to OpenRouter’s availability and limits. A custom model can incur charges on your OpenRouter account. “Check key only” does not request a model generation. See the official free router guide for details.

Why might a successful response contain no text?

Some models spend their output budget on reasoning before producing visible text. A short token limit can therefore return an empty answer or a response with a length finish reason. This page identifies those results separately; increase the token limit or try another model to check the visible output.

Is this a chat app or a performance benchmark?

No. Each test sends one message and keeps no conversation history. Timing includes your network connection, key validation, routing, and generation, so it is useful for basic troubleshooting rather than comparing model speed. Consult the OpenRouter quickstart and API limits documentation when integrating an application.