llm

Large Language Models

Code Completion

Code Completion is a large language models capability available through Mistral AI on Aweb. Fill-in-the-middle code completion with prefix and suffix context. Access it through a single unified API with automatic failover and intelligent routing.

Try Code CompletionAPI docs

Best for

Highest quality

Mistral AI

Premium tier

Contract

Max Latency2000ms

Providers (1)

ProviderScoreQualityPricing
Mistral AIDEFAULT
95premiumstandard

Public discovery and orchestration

Inspect the live capability descriptor directly, then route orchestration through a capability filter. Generic public execute examples are intentionally withheld until the canonical public execute contract is normalized.

cURL

curl "https://aweblabs.ai/api/v2/capabilities/llm.code-complete"

TypeScript

import Aweb from '@aweb/sdk';

const client = new Aweb({
  baseUrl: 'https://aweblabs.ai/api/v2',
});

const capability = await client.capabilities.get('llm.code-complete');

console.log(capability.data.runtime.providers);

Orchestration pipeline

import Aweb from '@aweb/sdk';

const aweb = new Aweb({ apiKey: process.env.AWEB_API_KEY });

const result = await aweb.orchestrate.run({
  query: 'Use Code Completion to help with a hello-world task and summarize the output',
  capabilities: ['llm.code-complete'],
  policy: 'balanced',
});

console.log(result.data.status);

Related Large Language Models capabilities

Chat Completion

llm

Streaming Chat

llm

Vision Analysis

llm

Structured Output

llm

Fast LLM Inference

llm

Getting started →API reference →All providers →All capabilities →