U

embedding-001

4k ContextEmbeddingPopular

embedding-001 with budget-friendly pricing. focused AI solutions.

Quick Start Guide

example.tsTypeScript
import OpenAI from "openai";

const openai = new OpenAI({
  baseURL: "https://api.okrouter.com/v1",
  apiKey: "<YOUR_OKROUTER_KEY>",
});

async function main() {
  const completion = await openai.chat.completions.create({
    model: "embedding-001",
    messages: [
      { role: "user", content: "Hello! What can you do?" }
    ],
  });

  console.log(completion.choices[0].message);
}

main();

Getting started with embedding-001 is easy. Since OkRouter is fully compatible with the OpenAI SDK, you can use existing libraries to access this model immediately. embedding-001 is fully compatible with the OpenAI Chat Completions API. distinctive features include Standard context handling and Embedding support.

Frequently Asked Questions

?How much does embedding-001 cost?

embedding-001 costs $0.80 per 1M input tokens and $3.20 per 1M output tokens via OkRouter. This is 20% cheaper than OpenRouter with the same great performance.

?Is embedding-001 compatible with OpenAI SDK?

Yes! embedding-001 works seamlessly with all OpenAI SDKs (Python, JavaScript, Go, etc.). Simply change your base_url to api.okrouter.com and use your OkRouter API key. No code changes needed.

?What is embedding-001 best used for?

embedding-001 excels at high-volume api processing, cost-sensitive production applications, data analysis and extraction. It's budget-friendly and perfect for high-volume production workloads.