ObjectiveAI
...Requests
...Tokens
...Spent
...OpenRouter LLMs
...Query Models
Chat for Free
Your Favorite LLMs.
Now Reliable in Production.
No Nonsense. Just a Completions API with a Confidence Score for every choice.
Powered by AI Diversity.
We don't adulterate your prompt. We do something smarter.
Developers are in Control.
Tailor a Query Model in the Studio.
Call /query/completions in your code.
Examples
empty
 
JSON Schema
openai/gpt-4.1-nano3ZQLc10LzVJtFS8vSTcFxPselectlogprobsreasoning4x
openai/gpt-4.1-nano3ZQLc10LzVJtFS8vSTcFxPselectlogprobsreasoning4x
deepseek/deepseek-chat-v3.11o7Odp8q5y4jtPicPc4QD1selectlogprobsreasoning3x
openai/gpt-4.1-mini2H6vs78dWH21ViATfRROSaselectlogprobsreasoning3x
google/gemini-2.5-flash-lite4FPWUwkeDDL23jDfAKkp4Mselectreasoning4x
openai/gpt-5-nano3K7J71U5P1ZaXkRIHfRViiselectreasoning3x
meta-llama/llama-4-scout3dTzI84P5PWaN7Mn3FmvQIselectlogprobsreasoning3x
meta-llama/llama-4-maverick1Ly5ZWNNrE1OHB1AyflQRaselectlogprobsreasoning3x
 
 
 
 
 
 
 
 
 
Easy to use with the OpenAI and ObjectiveAI SDKs.
import OpenAI from "openai";
import { Query } from "objectiveai";

export type Category =
  | "Job Application"
  | "Inquiry"
  | "Meeting Request"
  | "Invoice"
  | "Requires Human Review";

export async function categorizeEmail(emailContent: string): Promise<Category> {
  const openai = new OpenAI({
    apiKey: "<YOUR_OBJECTIVE_AI_API_KEY>",
    baseURL: "https://api.objective-ai.io",
  });
  const request = {
    messages: [
      {
        role: "user",
        content: `Select the correct category for the following email:\n\n${emailContent}`,
      },
    ],
    model: "objectiveai/7GgWgWm7LLuk1LBd5UmYsh",
    response_format: {
      type: "json_schema",
      json_schema: {
        name: "email_categorization",
        strict: true,
        schema: {
          type: "object",
          properties: {
            category: {
              type: "string",
              enum: [
                "Job Application",
                "Inquiry",
                "Meeting Request",
                "Invoice"
              ],
            },
          },
          required: ["category"],
        },
      },
    },
    select_deterministic: true,
  };
  const completion = await Query.Completions.create(openai, request);
  const winner = completion.choices[0];
  const category = JSON.parse(winner.message.content).category as Category;
  if (winner.confidence < 0.8) {
    return "Requires Human Review";
  } else {
    return category;
  }
}
Initiative Program
In order to expose the world to ObjectiveAI, we'll build your AI Agents, Workflows, or Automations free of charge.
If you're interested, or wish to book a demo, please contact us.
Top Query Models
...
Objective Artificial Intelligence, Inc.