Deployed on AWS
    Build reasoning, coding and agentic applications with K2 Horizon 7B FP8. Deploy on a single GPU in your AWS account, with open weights under Apache 2.0 and no software fee.

    Overview

    Overview

    K2 Horizon 7B is an open-weight language model from the Institute of Foundation Models (IFM) at MBZUAI. Build coding assistants, document-analysis tools and conversational applications with text generation, reasoning, streaming responses and structured tool calls.

    Deploy through Amazon SageMaker AI in your own AWS account. You control the endpoint, access permissions and resource lifecycle. Your application supplies conversation history and relevant documents, executes authorized tools and verifies results.

    Key capabilities

    • Text generation and reasoning: Generate answers, explanations and multi-step reasoning chains for coding, math, science and general knowledge tasks.

    • Tool calling: Define function schemas in your request and receive structured tool-call JSON that your application validates and executes.

    • Streaming responses: Choose InvokeEndpoint for complete responses or InvokeEndpointWithResponseStream for token-by-token streamed output.

    • Flexible integration: Supply JSON conversation messages with role and content fields. Embed system instructions, user queries and assistant history in a single request.

    Deployment configuration

    • 32K context: 32,768 tokens on ml.g6.2xlarge with one NVIDIA L4 GPU.

    This configuration uses FP8 model weights, BF16 activations and KV cache, and one active sequence. Availability depends on the AWS Region, account quota and instance capacity.

    Deployment and security model

    The model runs as a SageMaker endpoint inside your AWS account. You provision the endpoint, assign IAM roles and manage the instance lifecycle. Because the endpoint operates within your account, you can apply your organization's existing network controls, monitoring and access policies.

    SageMaker endpoints support VPC deployment, allowing you to run inference traffic within your private network. AWS encrypts SageMaker storage volumes and supports encryption of data in transit between your client and the endpoint using TLS. For details on SageMaker security controls, refer to the Amazon SageMaker AI documentation (https://docs.aws.amazon.com/sagemaker/ ).

    Getting started

    After subscribing, create a SageMaker model package and deploy it to a real-time endpoint on the ml.g6.2xlarge instance type. Send a test request using the SageMaker Python SDK or the AWS CLI to confirm the endpoint is operational. For model details, configuration guidance and measurement notes, see the K2 Horizon 7B FP8 documentation on GitHub (https://github.com/MBZUAI-IFM/k2-horizon-aws-marketplace/blob/main/docs/k2-horizon-7b-fp8.md ).

    Using the model

    • Input: JSON conversation messages containing a role and text content. Include optional function schemas for tool calling.

    • Output: Generated text or structured tool-call requests. Your application validates and executes any requested tools.

    The context limit includes input, conversation history, tool definitions, generated reasoning and the final answer. Reserve space for generation; requests exceeding the combined budget are rejected. Check completion status because reasoning can consume the output allowance before a final answer.

    Training and measured behavior

    IFM reports approximately 20 trillion pretraining tokens per Horizon model, combining web, code, mathematics, science, multilingual, domain-specific and synthetic material. For benchmark results and evaluation context, see the K2 Horizon technical blog (https://ifm.ai/blog/k2/ ). These evaluations were not reproduced on this AWS deployment. A single arithmetic request on the 32K ml.g6.2xlarge configuration took 3.968 seconds for 23 input and 102 completion tokens, including reasoning, with one active sequence. This is an observed functional sample, not a production latency guarantee. See the model details and measurement limits (https://github.com/MBZUAI-IFM/k2-horizon-aws-marketplace/blob/main/docs/k2-horizon-7b-fp8.md ).

    Limitations

    This offering accepts and generates text. Responses may contain factual errors, defective code or malformed tool arguments. Evaluate outputs for your use case. Browsing, code execution, persistent memory and external data access require application-provided components.

    Software fee and license

    No software fee. AWS charges separately for the SageMaker instances, storage, data transfer and other infrastructure you provision. Delete deployment resources when they are no longer needed.

    The model is distributed under the Apache License 2.0 (https://www.apache.org/licenses/LICENSE-2.0 ). Included software components retain their respective licenses and notices.

    Next steps

    Subscribe to this listing and deploy your first endpoint to evaluate K2 Horizon 7B FP8 in your own environment. For questions about deployment, integration or evaluation, reach out to the IFM support team through the contact information in the Support section below.

    Highlights

    • Reasoning and coding capabilities. K2 Horizon 7B is trained on approximately 20 trillion tokens. Use it for math reasoning, code generation, content drafting, supplied-text analysis, and conversational problem solving. For benchmark results and evaluation context, see the K2 Horizon technical blog (https://ifm.ai/blog/k2/).
    • Native tool calling and streaming output. The model generates structured function calls that connect directly to your application logic, enabling agent-style workflows. Responses stream as they are produced, reducing time-to-first-token for interactive use cases. Combine tool calls with the 32K context window to build multi-step pipelines that retrieve external data, execute actions, and return results within a single conversation turn.
    • FP8 open weights on a single GPU. K2 Horizon 7B FP8 deploys on a single ml.g6.2xlarge instance (NVIDIA L4 GPU) in your AWS account via SageMaker. The model is released under the Apache 2.0 license, giving you full control over fine-tuning, customization, and deployment. No software fee applies; you pay only for the underlying AWS infrastructure you consume.

    Details

    Delivery method

    Latest version

    Deployed on AWS
    New

    Introducing multi-product solutions

    You can now purchase comprehensive solutions tailored to use cases and industries.

    Multi-product solutions

    Features and programs

    Financing for AWS Marketplace purchases

    AWS Marketplace now accepts line of credit payments through the PNC Vendor Finance program. This program is available to select AWS customers in the US, excluding NV, NC, ND, TN, & VT.
    Financing for AWS Marketplace purchases

    Pricing

    This product is available free of charge. Free subscriptions have no end date and may be canceled any time.
    Additional AWS infrastructure costs may apply. Use the AWS Pricing Calculator  to estimate your infrastructure costs.

    Vendor refund policy

    No software fee is charged for this product. AWS infrastructure charges are billed separately by AWS. For product support, contact support@ifm.ai .

    How can we make this page better?

    Tell us how we can improve this page, or report an issue with this product.
    Tell us how we can improve this page, or report an issue with this product.

    Legal

    Vendor terms and conditions

    Upon subscribing to this product, you must acknowledge and agree to the terms and conditions outlined in the vendor's End User License Agreement (EULA) .

    Content disclaimer

    Vendors are responsible for their product descriptions and other product content. AWS does not warrant that vendors' product descriptions or other product content are accurate, complete, reliable, current, or error-free.

    Usage information

     Info

    Delivery details

    Amazon SageMaker model

    An Amazon SageMaker model package is a pre-trained machine learning model ready to use without additional training. Use the model package to create a model on Amazon SageMaker for real-time inference or batch processing. Amazon SageMaker is a fully managed platform for building, training, and deploying machine learning models at scale.

    Deploy the model on Amazon SageMaker AI using the following options:
    Deploy the model as an API endpoint for your applications. When you send data to the endpoint, SageMaker processes it and returns results by API response. The endpoint runs continuously until you delete it. You're billed for software and SageMaker infrastructure costs while the endpoint runs. AWS Marketplace models don't support Amazon SageMaker Asynchronous Inference. For more information, see Deploy models for real-time inference  .
    Deploy the model to process batches of data stored in Amazon Simple Storage Service (Amazon S3). SageMaker runs the job, processes your data, and returns results to Amazon S3. When complete, SageMaker stops the model. You're billed for software and SageMaker infrastructure costs only during the batch job. Duration depends on your model, instance type, and dataset size. AWS Marketplace models don't support Amazon SageMaker Asynchronous Inference. For more information, see Batch transform for inference with Amazon SageMaker AI  .
    Version release notes

    Initial K2 Horizon 7B FP8 release with 32K context configuration on NVIDIA L4 GPUs. Supports text generation, reasoning, streaming and structured tool calls.

    Additional details

    Inputs

    Summary

    JSON conversation messages with optional application-defined tool schemas.

    Limitations for input type
    Text input only. Total context includes formatted input, history, tool definitions, generated reasoning and final output. One active sequence.
    Input MIME type
    application/json
    https://raw.githubusercontent.com/MBZUAI-IFM/k2-horizon-aws-marketplace/main/samples/k2-horizon-7b-fp8/realtime-input.json
    https://raw.githubusercontent.com/MBZUAI-IFM/k2-horizon-aws-marketplace/main/samples/k2-horizon-7b-fp8/batch-input.json

    Input data descriptions

    The following table describes supported input data fields for real-time inference and batch transform.

    Field name
    Description
    Constraints
    Required
    model
    Served model identifier.
    k2-horizon-7b
    Yes
    messages
    Array of role/content conversation messages.
    -
    Yes
    max_tokens
    Generation allowance including reasoning and final output.
    Positive integer; input plus requested generation must fit the configured context.
    No
    stream
    Enable SSE output with the streaming invocation API; false for batch.
    -
    No

    Support

    Vendor support

    Getting Help

    For deployment, configuration, or runtime questions about K2 Horizon 7B FP8, email support@ifm.ai . The support team can assist with SageMaker endpoint setup, model configuration, inference errors, and general troubleshooting.

    What to Include in Your Request

    To help us resolve your issue quickly, please include the following in your email:

    • Product version and model identifier

    • AWS Region and instance type (e.g., ml.g6.2xlarge)

    • A clear description of the issue, including any error messages

    • Relevant log excerpts or request/response examples

    Important: Remove all credentials, API keys, and sensitive data from any logs or examples before sharing.

    Deployment Resources

    Before contacting support, you may find answers in the following resources:

    These resources include deployment notebooks, sample code, model details, and configuration guidance that address common setup questions.

    Refunds and Billing

    This listing carries no software fee. AWS infrastructure charges are billed directly by AWS. For questions about infrastructure billing, contact AWS Support through your AWS account. For any product-related concerns, reach out to support@ifm.ai .

    AWS infrastructure support

    AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.

    Similar products

    Customer reviews

    Ratings and reviews

     Info
    0 ratings
    5 star
    4 star
    3 star
    2 star
    1 star
    0%
    0%
    0%
    0%
    0%
    0 reviews
    No customer reviews yet
    Be the first to review this product . We've partnered with PeerSpot to gather customer feedback. You can share your experience by writing or recording a review, or scheduling a call with a PeerSpot analyst.