Product Wiki/Grandet API and Agent-Assisted Routing
01 / GRANDET
Grandet API and Agent-Assisted Routing
Grandet is developing a unified API gateway for workload-specific service routing and an intelligent algorithm to help Agents discover the best-fit API for any given task.
Two directions for model integration
A single entry point could streamline operations for teams managing both interactive coding sessions and overnight document processing. This gateway is currently deployed for integration testing, which may eventually allow developers to route traffic based on specific performance or cost requirements.
When you specify a model and the type of data being processed, an Agent could use our selection algorithm—currently in development—to identify the most appropriate service. If no suitable match is found, the Agent would leave the request unresolved rather than defaulting to an unverified provider.
Available tools for discovery
Today, you can use the Grandet website to search public model API price listings, including sources, billing units, and available free offers. These listings provide a foundation for comparing services, though they are not guarantees of actual spend or model identity. We encourage you to verify these details against the provider's official documentation.
The Grandet Skill is available for use in supported AI assistants. It allows you to look up model prices and free credit terms through natural language queries. These tools are designed to support your decision-making process by providing visibility into the market, helping you identify which services align with your project requirements before you authorize any connection.
How to match specific API services to your unique technical constraints.
Matching models to tasks
Not every task requires the same model capability. For example, a batch processing job that performs structured invoice field extraction may prioritize throughput and cost-efficiency over the low-latency responsiveness needed for an interactive coding assistant. When evaluating an API, consider the primary constraints of your application, such as whether your workflow requires high-speed interaction or if processing time is secondary to cost.
A developer might find that a smaller, specialized model is more effective for high-volume classification tasks, while a larger, general-purpose model is better suited for complex reasoning. By analyzing your specific requirements—such as data-handling restrictions, budget limits, or response time targets—you can narrow down the list of candidate services. The value of an API is determined by how well it satisfies these constraints without introducing unnecessary overhead.
Practical examples of selection
Consider a scenario where you are building a document summarization tool. You might test several models to see which one provides the best balance of accuracy and cost per token. If your application handles sensitive data, you must also filter your candidates based on the provider's data-handling policies. This process of elimination helps you build a shortlist of permitted services.
Another example involves interactive responsiveness. If your user interface depends on a model reply to keep the conversation flowing, you should prioritize providers with documented low-latency performance. By focusing on these concrete outcomes rather than marketing claims, you can ensure that your integration remains robust and cost-effective. Remember that the best service is the one that meets your specific project needs today.
The Grandet Skill allows users to look up model prices and free offers, and facilitates connections to user-selected services with explicit permission.
Discovery and assistance
The Grandet Skill is a tool designed to integrate with your existing AI assistant, helping you find relevant model information without leaving your workspace. You can use it to query the current price catalogue for specific models, compare different billing units, or check for available free offers. For example, you can ask the Skill: What is the current price per million tokens for model X on provider Y?
When you request information, the Skill retrieves the latest public data from our catalogue. It is important to note that the Skill provides information to assist your decision-making process; it does not perform the selection for you. You remain the final authority on which API to authorize and use. By keeping the decision-making process in your hands, we ensure that your integration choices align with your specific security and business requirements.
Safe authorization practices
Public price lookups do not require an API key.
If you need help connecting a chosen API, the Skill can provide guidance on the necessary steps to authorize that service within your environment. By following these safe practices, you can leverage the convenience of an AI assistant while maintaining the integrity of your development environment. The Skill serves as a bridge between your requirements and the available market data, simplifying the research phase of your project.
This gateway is currently deployed for integration testing, which may eventually allow developers to route traffic based on specific performance or cost requirements.
Gateway Architecture
This gateway is currently deployed for integration testing, which may eventually allow developers to route traffic based on specific performance or cost requirements.
When maintaining a strict model requirement across different providers, intent and permission are paramount. For an internal demo, a few extra seconds of latency might be acceptable, but confidential inputs must strictly remain within an approved provider's environment. By separating the functional intent from the security permission, developers ensure that even if multiple providers offer similar capabilities, the data flow adheres to the necessary compliance boundaries required for sensitive enterprise workflows.
Defining Workload Requirements
Even with a fixed model requirement, a developer might still choose between multiple permitted providers based on specific needs.
For example, a batch processing task for invoice extraction might prioritize cost-efficiency and throughput, while an interactive coding assistant requires low-latency responses.
The shadow routing service is deployed for development, and customer results are not yet established.
The Shadow Comparison Process
The shadow routing service is deployed for development, and customer results are not yet established.
When a team compares two services, only permitted examples are sent to the candidate, while the original service returns the reply to the user. The customer evaluates whether the task was completed successfully, potentially reviewing aggregate time and spend data, though the impact of real-world trials remains unknown.
Analyzing Aggregate Outcomes
For instance, missing a currency field on an invoice is often more critical than a faster response time. A team might choose to keep their original service until further evidence proves that an alternative can handle such requirements reliably.
If a response appears correct but loses a leading zero on an invoice identifier, the team would evaluate this as a potential routing failure. Using evidence from this case, they might decide to maintain the existing route if the error is isolated, consider a limited change to the prompt or model parameters, or request more examples to determine if the issue is systemic. This conditional analysis helps the team refine routing logic without prematurely altering stable configurations.
Grandet is developing algorithms to assist agents in identifying the most appropriate API based on a stated task and its specific constraints.
Identifying Candidate Services
Grandet is developing algorithms to assist agents in identifying the most appropriate API based on a stated task and its specific constraints.
"Find me a model that supports document summarization, but restrict the search to only approved providers and provide a price comparison per million tokens." The agent would use known facts to filter for approved providers, compare pricing units, and distinguish between verified price data and unverified quality metrics for interactive tasks.
This interaction is helpful when you have complex requirements that are difficult to filter manually. The agent acts as a navigator, surfacing options based on documented prices and availability. However, the agent's role is to provide options and evidence; the final selection and authorization of any specific API service must always be performed by you.
Authorization and Decision Making
Once the agent identifies potential candidates, review the evidence to confirm the service is appropriate. For example, if you require a specific model for interactive code assistance, check if the candidate's latency evidence meets your deadline. The agent can help organize this information, but the decision to connect to a new API is a manual step requiring your explicit authorization.
When you are ready to proceed, the agent can assist in the technical setup, but it should never be given access to your secrets. Handle your API keys and authorization tokens directly within your secure environment. By maintaining this separation, you benefit from the agent's ability to find services while keeping your sensitive information safe and your integration decisions transparent.
How to interpret and compare model API pricing listings.
Understanding Price Listings
The Grandet website provides a searchable catalogue of public model API prices. When reviewing these listings, always check the billing unit, such as per thousand tokens or per request, as these vary significantly between providers. A price displayed on the site is a reference point based on public information and does not guarantee the actual cost you will incur, as your specific usage patterns, data volume, and account eligibility can influence final billing.
To make an effective comparison, ensure you are looking at the same model and the same unit of measure. If a provider lists a price for a specific model version, confirm that the version matches your technical requirements. If information is missing or ambiguous, treat the price as unknown rather than a fixed rate. Always verify the current terms directly on the provider's official documentation before committing to a high-volume integration.
Contextualizing Costs
Price is only one factor in your selection process. A lower price per token might be offset by higher latency or lower accuracy for your specific task. For instance, a budget-friendly model might excel at simple classification but fail at complex reasoning, leading to higher costs due to repeated attempts or manual corrections. Consider the total cost of ownership, including the time spent on prompt engineering or error handling.
Use the price catalogue to identify candidates that fit your budget constraints, but remember that the displayed price is not a promise of quality. If you are building an application with strict budget limits, start by testing a small sample of your workload against several candidate models. This allows you to observe the actual spend and performance trade-offs before scaling up your integration.
Navigating free credit terms and promotional model access.
Assessing Promotional Terms
Many providers offer free credits or trial tiers to encourage adoption. When evaluating these offers, look beyond the headline amount. Check the expiration date, as many credits are only valid for a short window after account creation. Understand if the credits are restricted to specific models or if they apply to the provider's entire ecosystem. Some offers may also require a valid payment method on file, even if the service remains free during the trial period.
Be aware that free offers often come with usage limits, such as rate caps or lower priority in the request queue. If your application requires high availability or consistent latency, a free tier might not be suitable for production testing. Use these offers to verify that a model meets your functional requirements, but plan for the transition to paid usage once the trial period concludes or the credits are exhausted.
Strategic Use of Credits
The best way to use free credits is to run representative tests of your actual workload. Instead of testing generic prompts, use a subset of your non-sensitive application data to see how the model performs under realistic conditions. This helps you determine if the model is a viable candidate for your long-term needs before you spend your own budget.
Keep a record of the models you have tested using free credits. If you find a model that performs well, document its performance characteristics and the cost you would expect to pay once the credits expire. This proactive approach ensures that you are not caught off guard when a trial ends and helps you maintain a clear view of your future operational costs. Always prioritize models that provide the best balance of performance and long-term affordability for your specific use case.
Common questions regarding access, permissions, and evidence.
Access and Permissions
You can use the Grandet website and Grandet Skill today. The gateway integration and shadow comparison services are currently in development.
Regarding authorization, the Grandet Skill and website tools are designed to assist you, but they do not act on your behalf without explicit instruction. You remain the sole authority for connecting to any chosen API provider. Never share your secret keys or credentials in feedback forms, chat interfaces, or on our website. Security is maintained by keeping your keys within your own local environment.
Evidence and Uncertainty
Can I rely on the price listings as a guarantee of cost? No. The price catalogue on our website serves as a reference for public listings, but it is not a guarantee of actual spend, service quality, or model identity. Prices can fluctuate based on provider terms, and your actual costs depend on your specific usage patterns and account status.
How to provide actionable feedback and maintain privacy.
Providing Actionable Feedback
To report an incorrect API price unit, please provide the model name, a link to the public listing, a link to the public provider source, and the specific unit of comparison.
A developer might report a price discrepancy where one public page labels output price per million tokens while another lists price per request. Instead of providing private invoices, the developer should submit both public labels as context. This allows the team to understand that the units differ rather than the pricing being contradictory. Providing this documentation helps clarify the billing structure without exposing sensitive internal financial records or proprietary contract details.
We value feedback that helps us improve the utility of our tools. When reporting an issue or suggesting a feature, please provide concrete details about the task you were attempting. For instance, if the Grandet Skill failed to find a specific price, include the model name and the provider you were searching for. General statements are less helpful than specific examples of where the data or the workflow did not meet your expectations.
Privacy and Data Handling
Please exclude real prompts, logs, account details, and credentials from your report. If necessary, replace sensitive information with fictional example data.
Task:
Steps to reproduce:
Expected result:
Actual result:
Related page or public source:
Time of occurrence and time zone:
11 / GRANDET
Glossary
Plain explanations of important user vocabulary.
Core Concepts
Model API: A service that allows your application to send data to an AI model and receive a response. These are typically accessed via a network request to a provider's endpoint.
Provider: The entity that hosts and maintains the AI models. They define the pricing, usage conditions, and the technical interface for their specific models.
Grandet API: A unified entry point currently under development. Its goal is to provide a single interface for your application to route tasks to various permitted providers based on your requirements.
Shadow Routing: A testing technique where a request is sent to both your original API path and a candidate path. The candidate path's response is captured for comparison purposes but is not used as the live result for your application.
Workflow Terms
Agent: An autonomous or semi-autonomous program that uses tools to perform tasks. In this context, an agent can be configured to search for and select the most appropriate API based on constraints like budget or latency.
Candidate Path: An alternative API provider or model configuration that you are evaluating as a potential replacement or supplement to your current setup.
Billing Unit: The metric used to calculate costs, such as tokens, requests, or time. These vary by provider and are essential for comparing the true cost of different services.
Skill: A specific tool or plugin available for download that integrates with AI assistants to help users look up prices and manage API connections.